package com.example.myapplication;

import com.base.core.EmptyUtils;

public class NoticeBean {
    private int type;  //  0  心跳  1  发送  2  发送成功  3  发送短信
    private long time;
    private String sendStatus;
    private String noticeContent;
    private String title;
    private String notificationPkg;

    public String getNotificationPkg() {
        return notificationPkg;
    }

    public void setNotificationPkg(String notificationPkg) {
        this.notificationPkg = notificationPkg;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public long getTime() {
        return time;
    }

    public void setTime(long time) {
        this.time = time;
    }

    public String isSendStatus() {
        return sendStatus;
    }

    public void setSendStatus(String sendStatus) {
        this.sendStatus = sendStatus;
    }

    public String getNoticeContent() {
        if (EmptyUtils.isEmpty(noticeContent)) {
            return "";
        }
        return noticeContent;
    }

    public void setNoticeContent(String noticeContent) {
        this.noticeContent = noticeContent;
    }
}
